﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
//import
using Microsoft.Practices.Unity;
using System.Web.ModelBinding;
using ddcCajamarca.BusinessLogic.Post.Service;
using System.IO;
using ddcCajamarca.BusinessEntities.Post;

namespace ddcCajamarca.Web.Post
{
    public partial class frmVerNotaInformativa : System.Web.UI.Page
    {
        [Dependency]
        public INotaInformativaBL notaInformativaBL { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {
            

        }
        public NotaInformativa GetNota()
        {
            //[Control("txtCriterio")]string criteri
            var id = Request.QueryString["id"];
            if (!String.IsNullOrEmpty(id))
            {
                return notaInformativaBL.SelectNotaInformativaById(Int32.Parse(id));
            }
            else
                return null;
            

        }
    }
}